home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / system / int_util.zip / INTDUMP.C < prev    next >
Text File  |  1986-12-21  |  896b  |  21 lines

  1. /*************************************************************
  2.  *                                                           *
  3.  *                  Interupt Dump Utility                    *
  4.  *               Written by Mark C. Peterson                 *
  5.  *                       Norwich, CT                         *
  6.  *                    December 21, 1986                      *
  7.  *              This program and GET_INT reside              *
  8.  *                  in the public domain.                    *
  9.  *                                                           *
  10.  *************************************************************/
  11.  
  12. main ()
  13.   {
  14.     int n;
  15.     int temp [ 2 ];
  16.  
  17.     for (n = 0; n < 0xff; n++) {
  18.       get_int (n, temp);
  19.       printf ("%02X = %04X:%04X    ", n, temp [ 0 ], temp [ 1 ]);
  20.     }
  21.   }